<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="memlogo">
							<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}">
						</div>
						<div class="name">{{pagedata.member.nickname || '匿名'}}</div>
						<br>
						<div class="name">{{pagedata.member.mobile || '无手机号'}}</div>
						<div class="code">
							<img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
						</div>
						<div class="bot">
							<img style="height:2.5rem" id="barcode"/>
							<span class="r-f">{{pagedata.member.group}}</span>
						</div>
					</div>
			</div>
			<div class="fui-icon-group noborder  col-4">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div href="javascript:;" ng-click="access_json('core/member.recharge/')">
														<div class="text bold">{{pagedata.member.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span style="color:{{main.syscolor || '#4491F1'}}">充值</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.member.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的积分</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.member.mycoupon || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">优惠券</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.member.ideal_money || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">现金红包</div>
													</div>
												</div>
			</div>
			<div ng-if="!pagedata.wxcard_code" class="fui-cell-group fui-cell-click" style="background:none">
					<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.addwxcard/')">
						<div class="fui-cell-text" style="text-align: center;">点击领取微信会员卡</div>
					</a>
			</div>
			<div class="fui-cell-group fui-cell-click mod-group">
					<a class="fui-cell" ng-click="access_json('jy_weishop/member.mycard/')">
							<div class="fui-cell-icon"><i class="icon icon-pingzhengzhongxin"></i></div>
							<div class="fui-cell-text"><p>我的购物卡</p></div>
							<div class="fui-cell-remark"></div>
					</a>
					<a class="fui-cell" ng-click="access_json('jy_weishop/coupon.myindex/')">
							<div class="fui-cell-icon"><i class="icon icon-youhuiquan1"></i></div>
							<div class="fui-cell-text"><p>我的优惠券</p></div>
							<div class="fui-cell-remark"></div>
					</a>
					<a class="fui-cell" ng-click="access_json('jy_weishop/news.list/')">
							<div class="fui-cell-icon"><i class="icon icon-bangzhuxiantiao"></i></div>
							<div class="fui-cell-text"><p>帮助中心</p></div>
							<div class="fui-cell-remark"></div>
					</a>
			</div>
	</div>
</div>
<div ng-include="sys_html('common/_footer')"></div>
<script>
if(scope.pagedata.wxcard_code){
	require(['JsBarcode'],function(JsBarcode){
		//console.log('准备调用');
		JsBarcode('#barcode',scope.pagedata.wxcard_code,{fontSize:30});
	});
}
</script>